package com.lonty.intelligence.mapper;

import com.lonty.intelligence.model.SystemNotification;
import org.apache.ibatis.annotations.Mapper;

/**
 * @Author 陈璇
 * @Date 2020/5/28 10:15
 * @Version 1.0
 */
@Mapper
public interface SystemNotificationMapper {

    /**
     * 保存系统通知
     * @param systemNotification
     * @return
     */
    int saveSystemNotification(SystemNotification systemNotification);

    /**
     * 获取通知详情
     * @param id
     * @return
     */
    SystemNotification getSystemNotification(String id);

}
